<section id="navigation-main">
<div class="navbar">
	<div class="navbar-inner">
    <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="nav-collapse">
			<?php $this->widget('zii.widgets.CMenu',array(
                    'htmlOptions'=>array('class'=>'nav'),
                    'submenuHtmlOptions'=>array('class'=>'dropdown-menu'),
					'itemCssClass'=>'item-test',
                    'encodeLabel'=>false,
                    'items'=>array(
						array('label'=>'Trang chủ', 'url'=>array('/site/index'),
//							'itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),
//							'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown","data-description"=>""),
//                        'items'=>array(
//                            array('label'=>'Home 1 - Nivoslider', 'url'=>array('/site/index')),
//                        )
                        ),

                        array(
							'label'=>'Sản phẩm <span class="caret"></span>',
							'url'=>array('/product/page', 'view'=>'dacsan'),
							'itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),
							'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown","data-description"=>""),
	                        'items'=>array(
	                            array('label'=>'Gạo đặc sản', 'url'=>array('/product/page', 'view'=>'dacsan')),
	                            array('label'=>'Gạo dẻo', 'url'=>array('/product/page', 'view'=>'deo')),
	                            array('label'=>'Gạo bình dân', 'url'=>array('/product/page', 'view'=>'binhdan')),
	                            array('label'=>'Gạo khô', 'url'=>array('/product/page', 'view'=>'kho')),
	                        )
                        ),

						array(
							'label'=>'Tin tức <span class="caret"></span>',
							'url'=>array('/site/page', 'view'=>'kinhte'),
							'itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),
							'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown","data-description"=>""),
	                        'items'=>array(
	                            array('label'=>'Tin kinh tế', 'url'=>array('/site/page', 'view'=>'kinhte')),
	                            array('label'=>'Tin sức khỏe', 'url'=>array('/site/page', 'view'=>'suckhoe')),
	                            array('label'=>'Tin nông nghiệp', 'url'=>array('/site/page', 'view'=>'nongnghiep')),
	                        )
                        ),

                        array('label'=>'Cửa hàng', 'url'=>array('/site/page', 'view'=>'store'),'linkOptions'=>array("data-description"=>""),),
//                        array('label'=>'Khuyến mại', 'url'=>array('/site/page', 'view'=>'promotion'),'linkOptions'=>array("data-description"=>""),),
                        array('label'=>'Liên Hệ', 'url'=>array('site/contact'),'linkOptions'=>array("data-description"=>""),),

//                        array('label'=>'Đăng nhập', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest,'linkOptions'=>array("data-description"=>"member area")),
//                        array('label'=>'Đăng xuất ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest,'linkOptions'=>array("data-description"=>"member area")),
                    ),
                )); ?>
    	</div>
    </div>
	</div>
</div>
</section><!-- /#navigation-main -->